package com.cyam.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cyam.domain.User;
import com.cyam.mapper.UserMapper;
import com.cyam.service.UserService;

@Service
@Transactional
public class UserServiceImpl implements UserService{

	@Resource
	private UserMapper userMapper;
	
	
	@Override
	public User selectOne(Map<String, Object> map) {
		return userMapper.selectOne(map);
	}

}
